<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript" src="scripts/boot.js"></script>
</head>
<body style="border: 0px; margin: 0px; padding: 0px;width: 100%;height: 100%">
	<div class="mini-fit" >
	<div id="datagrid1" class="mini-datagrid" showPager="false" idField="id" pageSize="20" style="width:100%;height:100%;">
		<div property="columns">
			<div type="indexcolumn"></div>
			<div field="warehouseCode" width="25%" headerAlign="center" align="center">仓库编号</div>
			<div field="warehouseName" width="30%" headerAlign="center" align="center">仓库名称</div>
			<div field="shelf" width="15%" headerAlign="center" align="center">货架</div>
			<div field="shelfLayer" width="15%" headerAlign="center" align="center">层</div>
			<div field="position" width="15%" headerAlign="center" align="center">储位</div>
		</div>
	</div>
	</div>
	
<script type="text/javascript">
mini.parse();
var grid = mini.get("datagrid1");

//标准方法接口定义
function SetData(data) {
    //跨页面传递的数据对象，克隆后才可以安全使用
    data = mini.clone(data);
    grid.setUrl("medicine_location.do?id="+data.id);
    grid.load();
}
</script>
</body>
</html>